FROM dhuman_dhuman_5007:latest
#添加作者信息
MAINTAINER xiaobo xiaobo@yunshicloud.com

VOLUME /root/dhuman/upload
VOLUME /root/dhuman/dhumandata
VOLUME /root/dhuman/tmp
VOLUME /root/dhuman/gfpgan
VOLUME /root/dhuman/model
WORKDIR /root/dhuman
RUN apt-get update && apt-get install -y openssh-server
RUN mkdir /var/run/sshd
RUN echo 'root:root' | chpasswd
RUN sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
EXPOSE 22
EXPOSE 5007
WORKDIR /root/dhuman
#ENV PYTHONPATH=third_party/Matcha-TTS
CMD ["/usr/sbin/sshd", "-D"]
